<?php

namespace forfun\repository\entity;

class Question {
    /**
     * @var int id.
     * @primary
     */
    private $_id;
    /**
     * @var int user id.
     * @alias ("user_id")
     */
    private $_userId;
    /**
     * @var string title.
     * @alias ("title")
     */
    private $_title;
    /**
     * @var string detail.
     * @alias ("detail")
     */
    private $_detail;
    /**
     * @var string image.
     * @alias ("attr_img")
     */
    private $_attrImg;
    /**
     * @var int is resolved.
     * @alias ("is_resolved")
     */
    private $_isResolved;

    public function getId()
    {
        return $this->_id;
    }

    public function setId($id)
    {
        $this->_id = $id;
    }

    public function getUserId()
    {
        return $this->_user_id;
    }

    public function setUserId($user_id)
    {
        $this->_user_id = $user_id;
    }

    public function getTitle()
    {
        return $this->_title;
    }

    public function setTitle($title)
    {
        $this->_title = $title;
    }

    public function getDetail()
    {
        return $this->_detail;
    }

    public function setDetail($detail)
    {
        $this->_detail = $detail;
    }

    public function getAttrImg()
    {
        return $this->_attr_img;
    }

    public function setAttrImg($attr_img)
    {
        $this->_attr_img = $attr_img;
    }

    public function getIsResolved()
    {
        return $this->_is_resolved;
    }

    public function setIsResolved($is_resolved)
    {
        $this->_is_resolved = $is_resolved;
    }
}